#include "stdio.h"

int main() {
  // this program is to show what will happen if a null pointer is passed to
  // scanf
  int a = 0, b = 0;
  char source[] = "2 3";
  printf("sscanf %s returned %d\n", source,
         /* of course, you can change the NULL here to &a*/
         sscanf(source, "%d%d", &a, &b)

  );
  printf("read value:%d %d\n", a, b);
  return 0;
}
